package com.hyh.baowenlioaworking.mapper;

import com.hyh.baowenlioaworking.commom.R;
import com.hyh.baowenlioaworking.model.Admin;

import java.util.List;

/**
 * @BelongsPackage: com.hyh.baowenlioaworking.mapper
 * @ClassName AdminMapper
 * @Author: hyhWTX
 * @CreateTime: 2023-07-21  14:02
 * @Description: TODO (一句话描述以下该类的功能)
 * @Version: 1.0
 */

public interface AdminMapper {
    /**
     * 登录方法
     *
     * @param username
     * @param password
     * @return
     */
    Admin login(String username, String password);


    int addAdmin(Admin admin);

    List<String> getUsernameList();

    List<Admin> getAdminByUserName(String username);
}
